package com.street.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Dish {
    //数据库菜品主键
    Integer id;
    //菜品名称
    String name;
    //商家主键id
    Integer shopId;
    //价格
    BigDecimal price;
    //图片地址
    String image;
    //简介
    String description;
    //菜品状态 0已售空 1正在售卖
    Integer status;
    //菜品分类id主键
    Integer categoryId;
    //口味数据
    List<DishFlavor> flavors;
}
